[INFO] cloning repository https://github.com/carbonfive/rusty-drummer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carbonfive/rusty-drummer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarbonfive%2Frusty-drummer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarbonfive%2Frusty-drummer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8215be3d7400f931a778edd26e57f9733dba9f37
[INFO] checking carbonfive/rusty-drummer against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarbonfive%2Frusty-drummer" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/carbonfive/rusty-drummer on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/carbonfive/rusty-drummer
[INFO] finished tweaking git repo https://github.com/carbonfive/rusty-drummer
[INFO] tweaked toml for git repo https://github.com/carbonfive/rusty-drummer written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/carbonfive/rusty-drummer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3d02ef80246029f8de53647e1bec7429d82655dcc65e342bebaa78d3618d0822
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3d02ef80246029f8de53647e1bec7429d82655dcc65e342bebaa78d3618d0822", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3d02ef80246029f8de53647e1bec7429d82655dcc65e342bebaa78d3618d0822", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d02ef80246029f8de53647e1bec7429d82655dcc65e342bebaa78d3618d0822", kill_on_drop: false }`
[INFO] [stdout] 3d02ef80246029f8de53647e1bec7429d82655dcc65e342bebaa78d3618d0822
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8ed6c7a2c0c80f195a1f5b20da321aeb41478cd4c93679974ae1e175b872ccfe
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8ed6c7a2c0c80f195a1f5b20da321aeb41478cd4c93679974ae1e175b872ccfe", kill_on_drop: false }`
[INFO] [stderr]    Compiling sfml-build v0.3.0
[INFO] [stderr]     Checking widestring v0.4.2
[INFO] [stderr]    Compiling csfml-system-sys v0.5.0
[INFO] [stderr]    Compiling csfml-window-sys v0.5.0
[INFO] [stderr]    Compiling csfml-graphics-sys v0.5.0
[INFO] [stderr]    Compiling csfml-audio-sys v0.5.0
[INFO] [stderr]     Checking sfml v0.15.1
[INFO] [stderr]     Checking rust-audio v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `sfml::audio::rc`
[INFO] [stdout]  --> src/main.rs:5:32
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sfml::audio::{SoundBuffer, rc};
[INFO] [stdout]   |                                ^^ no `rc` in `audio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sfml::window::Close`
[INFO] [stdout]  --> src/main.rs:6:55
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sfml::window::{ContextSettings, VideoMode, event, Close};
[INFO] [stdout]   |                                                       ^^^^^ no `Close` in `window`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sfml::window::event::MouseButtonPressed`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sfml::window::event::MouseButtonPressed;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `MouseButtonPressed` in `window::event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `event` is private
[INFO] [stdout]   --> src/main.rs:6:48
[INFO] [stdout]    |
[INFO] [stdout] 6  | use sfml::window::{ContextSettings, VideoMode, event, Close};
[INFO] [stdout]    |                                                ^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `event` is defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sfml-0.15.1/src/window/mod.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | mod event;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `event` is private
[INFO] [stdout]   --> src/main.rs:7:19
[INFO] [stdout]    |
[INFO] [stdout] 7  | use sfml::window::event::MouseButtonPressed;
[INFO] [stdout]    |                   ^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `event` is defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sfml-0.15.1/src/window/mod.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | mod event;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sfml::audio::rc`
[INFO] [stdout]  --> src/main.rs:5:32
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sfml::audio::{SoundBuffer, rc};
[INFO] [stdout]   |                                ^^ no `rc` in `audio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sfml::window::Close`
[INFO] [stdout]  --> src/main.rs:6:55
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sfml::window::{ContextSettings, VideoMode, event, Close};
[INFO] [stdout]   |                                                       ^^^^^ no `Close` in `window`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `sfml::window::event::MouseButtonPressed`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sfml::window::event::MouseButtonPressed;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `MouseButtonPressed` in `window::event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `event` is private
[INFO] [stdout]   --> src/main.rs:6:48
[INFO] [stdout]    |
[INFO] [stdout] 6  | use sfml::window::{ContextSettings, VideoMode, event, Close};
[INFO] [stdout]    |                                                ^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `event` is defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sfml-0.15.1/src/window/mod.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | mod event;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `event` is private
[INFO] [stdout]   --> src/main.rs:7:19
[INFO] [stdout]    |
[INFO] [stdout] 7  | use sfml::window::event::MouseButtonPressed;
[INFO] [stdout]    |                   ^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `event` is defined here
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sfml-0.15.1/src/window/mod.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | mod event;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_init` found for struct `VideoMode` in the current scope
[INFO] [stdout]   --> src/main.rs:14:48
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut window = RenderWindow::new(VideoMode::new_init(500, 400, 32),
[INFO] [stdout]    |                                                   ^^^^^^^^ function or associated item not found in `VideoMode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for struct `RenderWindow` in the current scope
[INFO] [stdout]   --> src/main.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 |     .expect("Cannot create a new Render Window.");
[INFO] [stdout]    |      ^^^^^^ method not found in `RenderWindow`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_position` found for struct `RectangleShape<'static>` in the current scope
[INFO] [stdout]   --> src/main.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 |     one.rect.set_position(&Vector2f::new(10., 10.));
[INFO] [stdout]    |              ^^^^^^^^^^^^ method not found in `RectangleShape<'static>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 3  | use sfml::graphics::Transformable;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_position` found for struct `RectangleShape<'static>` in the current scope
[INFO] [stdout]   --> src/main.rs:32:16
[INFO] [stdout]    |
[INFO] [stdout] 32 |     kick_btn.rect.set_position(&Vector2f::new(10., 100.));
[INFO] [stdout]    |                   ^^^^^^^^^^^^ method not found in `RectangleShape<'static>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 3  | use sfml::graphics::Transformable;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_position` found for struct `RectangleShape<'static>` in the current scope
[INFO] [stdout]   --> src/main.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |     hh_btn.rect.set_position(&Vector2f::new(10., 190.));
[INFO] [stdout]    |                 ^^^^^^^^^^^^ method not found in `RectangleShape<'static>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 3  | use sfml::graphics::Transformable;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_position` found for struct `RectangleShape<'static>` in the current scope
[INFO] [stdout]   --> src/main.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |     clap_btn.rect.set_position(&Vector2f::new(10., 280.));
[INFO] [stdout]    |                   ^^^^^^^^^^^^ method not found in `RectangleShape<'static>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 3  | use sfml::graphics::Transformable;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Clock` in the current scope
[INFO] [stdout]   --> src/main.rs:51:25
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut clock = Clock::new();
[INFO] [stdout]    |                            ^^^ function or associated item not found in `Clock`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SoundBuffer` in the current scope
[INFO] [stdout]   --> src/main.rs:54:39
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let kick_buffer = match SoundBuffer::new("Samples/kick-808.wav") {
[INFO] [stdout]    |                                          ^^^ function or associated item not found in `SoundBuffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SoundBuffer` in the current scope
[INFO] [stdout]   --> src/main.rs:66:37
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let hh_buffer = match SoundBuffer::new("Samples/hihat-plain.wav") {
[INFO] [stdout]    |                                        ^^^ function or associated item not found in `SoundBuffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SoundBuffer` in the current scope
[INFO] [stdout]   --> src/main.rs:89:39
[INFO] [stdout]    |
[INFO] [stdout] 89 |     let clap_buffer = match SoundBuffer::new("Samples/clap-808.wav") {
[INFO] [stdout]    |                                          ^^^ function or associated item not found in `SoundBuffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_position` found for mutable reference `&mut RectangleShape<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 179 |             pad.set_position(&position);
[INFO] [stdout]     |                 ^^^^^^^^^^^^ method not found in `&mut RectangleShape<'_>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 3   | use sfml::graphics::Transformable;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope
[INFO] [stdout]    --> src/main.rs:181:28
[INFO] [stdout]     |
[INFO] [stdout] 181 |             let on_color   = Color::new_rgb(181,89,44);
[INFO] [stdout]     |                                     ^^^^^^^ function or associated item not found in `Color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope
[INFO] [stdout]    --> src/main.rs:182:28
[INFO] [stdout]     |
[INFO] [stdout] 182 |             let step_color = Color::new_rgb(190,223,124);
[INFO] [stdout]     |                                     ^^^^^^^ function or associated item not found in `Color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_fill_color` found for mutable reference `&mut RectangleShape<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:184:37
[INFO] [stdout]     |
[INFO] [stdout] 184 |             if is_playing && i == step { pad.set_fill_color(&step_color); }
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^ method not found in `&mut RectangleShape<'_>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 3   | use sfml::graphics::Shape;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_fill_color` found for mutable reference `&mut RectangleShape<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:188:29
[INFO] [stdout]     |
[INFO] [stdout] 188 |                         if kick_hits[i] { pad.set_fill_color(&on_color); }
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^ method not found in `&mut RectangleShape<'_>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 3   | use sfml::graphics::Shape;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_fill_color` found for mutable reference `&mut RectangleShape<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:191:28
[INFO] [stdout]     |
[INFO] [stdout] 191 |                         if hh_hits[i]     { pad.set_fill_color(&on_color); }
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^ method not found in `&mut RectangleShape<'_>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 3   | use sfml::graphics::Shape;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_fill_color` found for mutable reference `&mut RectangleShape<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:194:29
[INFO] [stdout]     |
[INFO] [stdout] 194 |                         if clap_hits[i] { pad.set_fill_color(&on_color); }
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^ method not found in `&mut RectangleShape<'_>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 3   | use sfml::graphics::Shape;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope
[INFO] [stdout]    --> src/main.rs:205:25
[INFO] [stdout]     |
[INFO] [stdout] 205 |             window.clear(&Color::new_rgb(29, 115, 115));
[INFO] [stdout]     |                                  ^^^^^^^ function or associated item not found in `Color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_init` found for struct `VideoMode` in the current scope
[INFO] [stdout]   --> src/main.rs:14:48
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut window = RenderWindow::new(VideoMode::new_init(500, 400, 32),
[INFO] [stdout]    |                                                   ^^^^^^^^ function or associated item not found in `VideoMode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_global_bounds` found for reference `&RectangleShape<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:225:7
[INFO] [stdout]     |
[INFO] [stdout] 225 |     rect.get_global_bounds().contains(x as f32, y as f32)
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^ method not found in `&RectangleShape<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_init` found for struct `RectangleShape<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:229:33
[INFO] [stdout]     |
[INFO] [stdout] 229 |     let mut rect = RectangleShape::new_init(size).expect("Error, cannot create button.");
[INFO] [stdout]     |                                    ^^^^^^^^ function or associated item not found in `RectangleShape<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for struct `RenderWindow` in the current scope
[INFO] [stdout]   --> src/main.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 |     .expect("Cannot create a new Render Window.");
[INFO] [stdout]    |      ^^^^^^ method not found in `RenderWindow`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope
[INFO] [stdout]    --> src/main.rs:231:30
[INFO] [stdout]     |
[INFO] [stdout] 231 |     rect.set_fill_color(&Color::new_rgb(134,179,44));
[INFO] [stdout]     |                                 ^^^^^^^ function or associated item not found in `Color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope
[INFO] [stdout]    --> src/main.rs:232:33
[INFO] [stdout]     |
[INFO] [stdout] 232 |     rect.set_outline_color(&Color::new_rgb(0,70,70));
[INFO] [stdout]     |                                    ^^^^^^^ function or associated item not found in `Color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_init` found for struct `RectangleShape<'_>` in the current scope
[INFO] [stdout]   --> src/button.rs:14:34
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let mut rect = RectangleShape::new_init(&size).expect("Error, cannot create button.");
[INFO] [stdout]    |                                        ^^^^^^^^ function or associated item not found in `RectangleShape<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_position` found for struct `RectangleShape<'static>` in the current scope
[INFO] [stdout]   --> src/main.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 |     one.rect.set_position(&Vector2f::new(10., 10.));
[INFO] [stdout]    |              ^^^^^^^^^^^^ method not found in `RectangleShape<'static>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 3  | use sfml::graphics::Transformable;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope
[INFO] [stdout]   --> src/button.rs:16:31
[INFO] [stdout]    |
[INFO] [stdout] 16 |         rect.set_fill_color(&Color::new_rgb(134,179,44));
[INFO] [stdout]    |                                     ^^^^^^^ function or associated item not found in `Color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope
[INFO] [stdout]   --> src/button.rs:17:34
[INFO] [stdout]    |
[INFO] [stdout] 17 |         rect.set_outline_color(&Color::new_rgb(0,70,70));
[INFO] [stdout]    |                                        ^^^^^^^ function or associated item not found in `Color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_position` found for struct `RectangleShape<'static>` in the current scope
[INFO] [stdout]   --> src/main.rs:32:16
[INFO] [stdout]    |
[INFO] [stdout] 32 |     kick_btn.rect.set_position(&Vector2f::new(10., 100.));
[INFO] [stdout]    |                   ^^^^^^^^^^^^ method not found in `RectangleShape<'static>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 3  | use sfml::graphics::Transformable;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RenderTarget`
[INFO] [stdout]  --> src/main.rs:9:36
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sfml::graphics::{RenderWindow, RenderTarget, RectangleShape, Color};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_position` found for struct `RectangleShape<'static>` in the current scope
[INFO] [stdout]   --> src/main.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |     hh_btn.rect.set_position(&Vector2f::new(10., 190.));
[INFO] [stdout]    |                 ^^^^^^^^^^^^ method not found in `RectangleShape<'static>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 3  | use sfml::graphics::Transformable;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 30 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_position` found for struct `RectangleShape<'static>` in the current scope
[INFO] [stdout]   --> src/main.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |     clap_btn.rect.set_position(&Vector2f::new(10., 280.));
[INFO] [stdout]    |                   ^^^^^^^^^^^^ method not found in `RectangleShape<'static>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 3  | use sfml::graphics::Transformable;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Clock` in the current scope
[INFO] [stdout]   --> src/main.rs:51:25
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut clock = Clock::new();
[INFO] [stdout]    |                            ^^^ function or associated item not found in `Clock`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SoundBuffer` in the current scope
[INFO] [stdout]   --> src/main.rs:54:39
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let kick_buffer = match SoundBuffer::new("Samples/kick-808.wav") {
[INFO] [stdout]    |                                          ^^^ function or associated item not found in `SoundBuffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SoundBuffer` in the current scope
[INFO] [stdout]   --> src/main.rs:66:37
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let hh_buffer = match SoundBuffer::new("Samples/hihat-plain.wav") {
[INFO] [stdout]    |                                        ^^^ function or associated item not found in `SoundBuffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SoundBuffer` in the current scope
[INFO] [stdout]   --> src/main.rs:89:39
[INFO] [stdout]    |
[INFO] [stdout] 89 |     let clap_buffer = match SoundBuffer::new("Samples/clap-808.wav") {
[INFO] [stdout]    |                                          ^^^ function or associated item not found in `SoundBuffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-audio`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `set_position` found for mutable reference `&mut RectangleShape<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 179 |             pad.set_position(&position);
[INFO] [stdout]     |                 ^^^^^^^^^^^^ method not found in `&mut RectangleShape<'_>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 3   | use sfml::graphics::Transformable;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope
[INFO] [stdout]    --> src/main.rs:181:28
[INFO] [stdout]     |
[INFO] [stdout] 181 |             let on_color   = Color::new_rgb(181,89,44);
[INFO] [stdout]     |                                     ^^^^^^^ function or associated item not found in `Color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope
[INFO] [stdout]    --> src/main.rs:182:28
[INFO] [stdout]     |
[INFO] [stdout] 182 |             let step_color = Color::new_rgb(190,223,124);
[INFO] [stdout]     |                                     ^^^^^^^ function or associated item not found in `Color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_fill_color` found for mutable reference `&mut RectangleShape<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:184:37
[INFO] [stdout]     |
[INFO] [stdout] 184 |             if is_playing && i == step { pad.set_fill_color(&step_color); }
[INFO] [stdout]     |                                              ^^^^^^^^^^^^^^ method not found in `&mut RectangleShape<'_>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 3   | use sfml::graphics::Shape;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_fill_color` found for mutable reference `&mut RectangleShape<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:188:29
[INFO] [stdout]     |
[INFO] [stdout] 188 |                         if kick_hits[i] { pad.set_fill_color(&on_color); }
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^ method not found in `&mut RectangleShape<'_>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 3   | use sfml::graphics::Shape;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_fill_color` found for mutable reference `&mut RectangleShape<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:191:28
[INFO] [stdout]     |
[INFO] [stdout] 191 |                         if hh_hits[i]     { pad.set_fill_color(&on_color); }
[INFO] [stdout]     |                                                 ^^^^^^^^^^^^^^ method not found in `&mut RectangleShape<'_>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 3   | use sfml::graphics::Shape;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_fill_color` found for mutable reference `&mut RectangleShape<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:194:29
[INFO] [stdout]     |
[INFO] [stdout] 194 |                         if clap_hits[i] { pad.set_fill_color(&on_color); }
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^ method not found in `&mut RectangleShape<'_>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 3   | use sfml::graphics::Shape;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope
[INFO] [stdout]    --> src/main.rs:205:25
[INFO] [stdout]     |
[INFO] [stdout] 205 |             window.clear(&Color::new_rgb(29, 115, 115));
[INFO] [stdout]     |                                  ^^^^^^^ function or associated item not found in `Color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_global_bounds` found for reference `&RectangleShape<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:225:7
[INFO] [stdout]     |
[INFO] [stdout] 225 |     rect.get_global_bounds().contains(x as f32, y as f32)
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^ method not found in `&RectangleShape<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_init` found for struct `RectangleShape<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:229:33
[INFO] [stdout]     |
[INFO] [stdout] 229 |     let mut rect = RectangleShape::new_init(size).expect("Error, cannot create button.");
[INFO] [stdout]     |                                    ^^^^^^^^ function or associated item not found in `RectangleShape<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope
[INFO] [stdout]    --> src/main.rs:231:30
[INFO] [stdout]     |
[INFO] [stdout] 231 |     rect.set_fill_color(&Color::new_rgb(134,179,44));
[INFO] [stdout]     |                                 ^^^^^^^ function or associated item not found in `Color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope
[INFO] [stdout]    --> src/main.rs:232:33
[INFO] [stdout]     |
[INFO] [stdout] 232 |     rect.set_outline_color(&Color::new_rgb(0,70,70));
[INFO] [stdout]     |                                    ^^^^^^^ function or associated item not found in `Color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_init` found for struct `RectangleShape<'_>` in the current scope
[INFO] [stdout]   --> src/button.rs:14:34
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let mut rect = RectangleShape::new_init(&size).expect("Error, cannot create button.");
[INFO] [stdout]    |                                        ^^^^^^^^ function or associated item not found in `RectangleShape<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope
[INFO] [stdout]   --> src/button.rs:16:31
[INFO] [stdout]    |
[INFO] [stdout] 16 |         rect.set_fill_color(&Color::new_rgb(134,179,44));
[INFO] [stdout]    |                                     ^^^^^^^ function or associated item not found in `Color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new_rgb` found for struct `Color` in the current scope
[INFO] [stdout]   --> src/button.rs:17:34
[INFO] [stdout]    |
[INFO] [stdout] 17 |         rect.set_outline_color(&Color::new_rgb(0,70,70));
[INFO] [stdout]    |                                        ^^^^^^^ function or associated item not found in `Color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RenderTarget`
[INFO] [stdout]  --> src/main.rs:9:36
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sfml::graphics::{RenderWindow, RenderTarget, RectangleShape, Color};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 30 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "8ed6c7a2c0c80f195a1f5b20da321aeb41478cd4c93679974ae1e175b872ccfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ed6c7a2c0c80f195a1f5b20da321aeb41478cd4c93679974ae1e175b872ccfe", kill_on_drop: false }`
[INFO] [stdout] 8ed6c7a2c0c80f195a1f5b20da321aeb41478cd4c93679974ae1e175b872ccfe
